package Interface;

import java.util.ArrayList;

public class ClassManger {
    private ArrayList<Student> students = new ArrayList<>();
    private StudentOperate studentoperate = new StudentOperatelmpl1();

    public ClassManger() {
        students.add(new Student("迪丽热巴",'女',99));
        students.add(new Student("古力娜扎",'女',100));
        students.add(new Student("马儿扎哈",'男',80));
        students.add(new Student("卡尔扎巴",'男',50));
    }
    public void printinfo(){
        studentoperate.printALLInfo(students);
    }
    public void printscore(){
        studentoperate.printAverageScore(students);
    }
}
